package cn.green.core.components.lock;

/**
 * 表锁
 */
public interface TableLock {

    void lock(String sourceName, String schemeName, String tableName);

    boolean tryLock(String sourceName, String schemeName, String tableName);

    void unlock(String sourceName, String schemeName, String tableName);

}
